package com.wds.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wds.domain.JsonResult;
import com.wds.domain.entity.Tag;
import com.wds.domain.vo.TagListVoVo;

import java.util.List;

/**
 * 标签(Tag)表服务接口
 *
 * @author wds
 * @since 2022-12-05 11:51:39
 */
public interface TagService extends IService<Tag> {

    JsonResult<List<Tag>> queryAll();

    JsonResult<TagListVoVo> pageList(int pageNum, int pageSize, String name);

    JsonResult<Object> addNewTag(Tag tag);

    JsonResult<Object> delete(List<Long> id);

    JsonResult<Object> queryById(String id);

    JsonResult<Object> updateTag(Tag tag);

}

